<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
<#assign base=request.contextPath  />
    <base id="base" href="${base}">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, adminUser-scalable=0">
    <link rel="stylesheet" href="${base}/static/win10/component/layui/css/layui.css" media="all">
    <script>
        var base =  "${base}";
    </script>
</head>
<body>
<br>
<form class="layui-form " action="">


    <button type="button" class="layui-btn" lay-event="edit" id="edit">编辑</button>

         <input disabled type="hidden" id="id" name="id" value="${engine.id!}" >
          <div class="layui-form-item">
              <label class="layui-form-label">设备名称</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="name" name="name" value="${engine.name!}"  autocomplete="off" placeholder="请输入设备名称"
                         class="layui-input">
                  <img src="${engine.nameUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">设备用途</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="purpose" name="purpose" value="${engine.purpose!}"  autocomplete="off" placeholder="请输入设备用途"
                         class="layui-input">
                  <img src="${engine.purposeUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">设备检定情况及相关要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="requirement" name="requirement" value="${engine.requirement!}"  autocomplete="off" placeholder="请输入设备检定情况及相关要求"
                         class="layui-input">
                  <img src="${engine.requirementUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">功能要求（协议书）</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="function" name="function" value="${engine.function!}"  autocomplete="off" placeholder="请输入功能要求（协议书）"
                         class="layui-input">
                  <img src="${engine.functionUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">性能指标要求（协议书）</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="performance" name="performance" value="${engine.performance!}"  autocomplete="off" placeholder="请输入性能指标要求（协议书）"
                         class="layui-input">
                  <img src="${engine.performanceUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">接口要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="Interface" name="Interface" value="${engine.interface!}"  autocomplete="off" placeholder="请输入接口要求"
                         class="layui-input">
                  <img src="${engine.interfaceUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">重量要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="weight" name="weight" value="${engine.weight!}"  autocomplete="off" placeholder="请输入重量要求"
                         class="layui-input">
                  <img src="${engine.weightUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">尺寸要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="size" name="size" value="${engine.size!}"  autocomplete="off" placeholder="请输入尺寸要求"
                         class="layui-input">
                  <img src="${engine.sizeUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">电源特性要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="powerSupply" name="powerSupply" value="${engine.powerSupply!}"  autocomplete="off" placeholder="请输入电源特性要求"
                         class="layui-input">
                  <img src="${engine.powerSupplyUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">寿命</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="life" name="life" value="${engine.life!}"  autocomplete="off" placeholder="请输入寿命"
                         class="layui-input">
                  <img src="${engine.lifeUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">可靠性要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="reliability" name="reliability" value="${engine.reliability!}"  autocomplete="off" placeholder="请输入可靠性要求"
                         class="layui-input">
                  <img src="${engine.reliabilityUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">维修性要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="maintainability" name="maintainability" value="${engine.maintainability!}"  autocomplete="off" placeholder="请输入维修性要求"
                         class="layui-input">
                  <img src="${engine.maintainabilityUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">测试性要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="testability" name="testability" value="${engine.testability!}"  autocomplete="off" placeholder="请输入测试性要求"
                         class="layui-input">
                  <img src="${engine.testabilityUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">安全性要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="security" name="security" value="${engine.security!}"  autocomplete="off" placeholder="请输入安全性要求"
                         class="layui-input">
                  <img src="${engine.securityUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">保障性要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="supportability" name="supportability" value="${engine.supportability!}"  autocomplete="off" placeholder="请输入保障性要求"
                         class="layui-input">
                  <img src="${engine.supportabilityUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">环境适应性要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="environment" name="environment" value="${engine.environment!}"  autocomplete="off" placeholder="请输入环境适应性要求"
                         class="layui-input">
                  <img src="${engine.environmentUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">电磁兼容性要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="electromagnetism" name="electromagnetism" value="${engine.electromagnetism!}"  autocomplete="off" placeholder="请输入电磁兼容性要求"
                         class="layui-input">
                  <img src="${engine.electromagnetismUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">计量保障要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="metering" name="metering" value="${engine.metering!}"  autocomplete="off" placeholder="请输入计量保障要求"
                         class="layui-input">
                  <img src="${engine.meteringUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">包装运输要求</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="packingTransport" name="packingTransport" value="${engine.packingTransport!}"  autocomplete="off" placeholder="请输入包装运输要求"
                         class="layui-input">
                  <img src="${engine.packingTransportUrl!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">技术资料</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="technology" name="technology" value="${engine.technology!}"  autocomplete="off" placeholder="请输入技术资料"
                         class="layui-input">
              </div>
          </div>
</form>
<script src="${base}/static/win10/component/layui/layui.js?t=1"></script>
<script src="${base}/static/win10/js/jquery-1.8.3.min.js?t=1"></script>
<script>

    $("#edit").click(function(){



        window.location.href=base+"/aircraftanalysis/engine/admin/editEngineHtml?id="+"${engine.id!}"
    });
</script>
</body>
</html>